---
- name: provision AWS builder
  hosts: all
  become: true
  user: fedora

  vars_files:
    - vars.yml
    - aws_cloud_vars.yml

  vars:
    ansible_python_interpreter: /usr/bin/python3

  tasks:
  - include: "create_swap_file.yml"
    when:
    - prepare_base_image is defined

  - include: "provision_builder_tasks.yml"
